<template>
	<layout>
		<!-- #ifdef MP-WEIXIN -->
		<view class="search-box">
		<!-- #endif -->
		<!-- #ifndef MP-WEIXIN -->
		<view>
		<!-- #endif -->
			<u-search placeholder="搜索" focus actionText="取消" @custom="goBack"></u-search>
		</view>
	</layout>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			goBack() {
				uni.navigateBack()
			},
		}
	}
</script>

<style lang="scss" scoped>
	.search-box {
		margin-right: 200rpx;
	}
</style>
